package com.ygqh.baby.mapper;
import com.ygqh.baby.po.YgSearchKeywords;
import com.ygqh.baby.po.YgSearchKeywordsExample;
import com.ygqh.baby.ao.QueryInfo;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
public interface YgSearchKeywordsMapper {
    int countByExample(YgSearchKeywordsExample example);
    
    int countByStatus();

    int deleteByExample(YgSearchKeywordsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(YgSearchKeywords record);

    int insertSelective(YgSearchKeywords record);

    List<YgSearchKeywords> selectByExample(YgSearchKeywordsExample example);
    

    YgSearchKeywords selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") YgSearchKeywords record, @Param("example") YgSearchKeywordsExample example);

    int updateByPrimaryKeySelectiveStatus(YgSearchKeywords ygSearchKeywords);
    
    int updateByExample(@Param("record") YgSearchKeywords record, @Param("example") YgSearchKeywordsExample example);

    int updateByPrimaryKeySelective(YgSearchKeywords record);

    int updateByPrimaryKey(YgSearchKeywords record);
    
    int countSuper(@Param ("q") String q);
    
    List<YgSearchKeywords> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param ("q") String q);
    
    List<YgSearchKeywords> findShowModelByKeywords();
    

}



